package com.beeantec.jnrerc.modules.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.beeantec.jnrerc.dto.MemberVo;
import com.beeantec.jnrerc.dto.response.BindRespDTO;
import com.beeantec.jnrerc.entity.Member;


public interface MemberService   extends IService<Member> {

     MemberVo getByPhone(String phone);

     MemberVo getByOpenId(String openId);

     boolean updateId(String loginType, Integer memberId, String id, String avatarUrl, String nickName);

     BindRespDTO wxBindPhone(String id, String phone, String sms);

     MemberVo register(String loginType, String id, String phone);

     BindRespDTO bindWechat(String id, String phone);


     MemberVo token(String token);


      MemberVo  setToken(MemberVo memberVo);

}